#include<bits/stdc++.h>
using namespace std;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int n,k,s=0;
    bool f=0;
    cin>>n;
    int a[100005]={0};
    for(int i=0;i<n;i++){
        cin>>k;
        a[k]++;
    }
    for(int i=1;i<=100000;i++){
        if(a[i]!=0&&f==0){
            s+=a[i];
            f=1;
            continue;
        }
        if(a[i]>=s) s=a[i];
    }
    cout<<s<<endl;
    return 0;
}

